<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>山体滑坡防护手册 - 图书详情</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body class="bg-gray-50 min-h-screen text-gray-900">
    <nav class="bg-white shadow-sm sticky top-0 z-40">
        <div class="max-w-7xl mx-auto flex items-center justify-between px-4 h-16">
            <div class="flex items-center space-x-2">
                <i class="fa-solid fa-shield-alt text-orange-600 text-2xl"></i>
                <span class="text-xl font-bold">应急防护小站</span>
            </div>
            <div class="flex items-center space-x-2">
                <a href="index.jsp" class="px-4 py-2 hover:text-orange-600">首页</a>
                <a href="/books" class="px-4 py-2 hover:text-orange-600">图书购买</a>
                <a href="profile.jsp" class="px-4 py-2 hover:text-orange-600">个人信息</a>
            </div>
        </div>
    </nav>
    <main class="max-w-5xl mx-auto px-4 py-10">
        <div class="bg-white rounded-2xl shadow-lg p-8 flex flex-col md:flex-row gap-8">
            <!-- 封面 -->
            <div class="flex-shrink-0 flex flex-col items-center">
                <img src="https://img1.doubanio.com/view/subject/l/public/s33883719.jpg" alt="山体滑坡防护手册" class="w-56 h-80 object-cover rounded shadow mb-4"/>
                <div class="text-orange-600 font-bold text-xl mt-2">￥29.00</div>
                <div class="text-gray-500 text-sm mt-1">库存：65</div>
            </div>
            <!-- 详情 -->
            <div class="flex-1 flex flex-col">
                <h1 class="text-3xl font-bold mb-2">山体滑坡防护手册</h1>
                <div class="text-gray-600 mb-2">作者：高峰</div>
                <div class="text-gray-500 mb-2">分类：地质灾害</div>
                <div class="text-gray-500 mb-2">出版社：地质出版社</div>
                <!-- 简介 -->
                <div class="mt-4">
                    <h2 class="text-lg font-bold mb-1 flex items-center"><i class="fa-solid fa-book-open text-orange-500 mr-2"></i>书籍简介</h2>
                    <div class="text-gray-700 leading-relaxed">
                        本书介绍了山体滑坡的成因、预警、防护及自救知识，帮助公众科学应对地质灾害。
                    </div>
                </div>
                <!-- 目录 -->
                <div class="mt-6">
                    <h2 class="text-lg font-bold mb-1 flex items-center"><i class="fa-solid fa-list-ul text-orange-500 mr-2"></i>书籍目录</h2>
                    <div class="bg-gray-50 border border-gray-200 rounded p-4 text-gray-700 whitespace-pre-line">
                        1. 滑坡灾害概述<br>
                        2. 滑坡预警与监测<br>
                        3. 居家防滑措施<br>
                        4. 滑坡中的自救互救<br>
                        5. 灾后恢复与重建
                    </div>
                </div>
                <!-- 分区归类 -->
                <div class="mt-6">
                    <h2 class="text-lg font-bold mb-1 flex items-center"><i class="fa-solid fa-layer-group text-orange-500 mr-2"></i>分区归类</h2>
                    <span class="inline-block bg-yellow-100 text-yellow-700 px-3 py-1 rounded-full text-sm font-semibold mr-2">地质灾害</span>
                </div>
                <!-- 评价区 -->
                <div class="mt-8">
                    <h2 class="text-lg font-bold mb-2 flex items-center"><i class="fa-solid fa-star text-yellow-400 mr-2"></i>图书评价</h2>
                    <div class="space-y-3">
                        <div class="flex items-center gap-2">
                            <i class="fa-solid fa-user-circle text-gray-400 text-2xl"></i>
                            <div>
                                <div class="font-semibold">匿名用户</div>
                                <div class="text-gray-600 text-sm">内容科学，实用性强。</div>
                            </div>
                        </div>
                        <div class="flex items-center gap-2">
                            <i class="fa-solid fa-user-circle text-gray-400 text-2xl"></i>
                            <div>
                                <div class="font-semibold">小高</div>
                                <div class="text-gray-600 text-sm">讲解细致，图文并茂。</div>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- 操作按钮 -->
                <div class="mt-8 flex gap-4">
                    <button class="bg-orange-500 hover:bg-orange-600 text-white px-6 py-3 rounded-lg font-bold flex items-center">
                        <i class="fa-solid fa-cart-plus mr-2"></i> 加入购物车
                    </button>
                    <button class="bg-green-500 hover:bg-green-600 text-white px-6 py-3 rounded-lg font-bold flex items-center">
                        <i class="fa-solid fa-credit-card mr-2"></i> 立即购买
                    </button>
                </div>
            </div>
        </div>
    </main>
    <footer class="bg-gray-900 text-white py-10 mt-16">
        <div class="max-w-7xl mx-auto px-4 text-center">
            <p>&copy; 2025 应急防护小站. 保留所有权利.</p>
        </div>
    </footer>
</body>
</html> 